home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010306-20010921
/
000100_news@columbia.edu _Fri May 4 19:07:43 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2001-09-20
|
2KB
Return-Path: <news@columbia.edu>
Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.59.159])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA24991
for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 4 May 2001 19:07:43 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by apakabar.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA05474
for <kermit.misc@smtp.cc.columbia.edu>; Fri, 4 May 2001 19:07:40 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA25751
for kermit.misc@watsun.cc.columbia.edu; Fri, 4 May 2001 19:03:52 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: ftp - if the file already exists
Date: 4 May 2001 23:03:50 GMT
Organization: Columbia University
Message-ID: <9cvcgm$p4l$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <9cv5ct$njq7@biko.telecom.ups.com>, Bigfoot <ext6axp@ups.com> wrote:
: In ftp when i get a file from the remote system to my local
: system and if the file that I am getting from the remote directory
: already exists in my local machine, is there a way to get the file in
: a different name.
: Is there an option or parameter to set, so that whenever the file
: already exists in the local directory, ftp will prompt you to enter a
: different name or automatically convert the filename to a different
: name by setting some naming conventions.
:
The new Kermit FTP client:
http://www.columbia.edu/kermit/ftpclient.html
does this automatically, the same way it does for Kermit transfers.
By default, if the incoming file has the same name as an existing file
in the same directory, the existing file is renamed by adding .~1~ to
its name, or if that name is in use too, .~2~, and so on.
Lots of other filename collision options are available too, for example:
RENAME
Change the name of the incoming file, rather than the existing file.
APPEND
Append the incoming file to the existing file.
DISCARD
Refuse the incoming file and keep the existing file.
OVERWRITE
Overwrite the existing file (like regular FTP clients do).
UPDATE
Refuse the incoming file unless it is newer than the existing file.
- Frank